package com.euc.springbootframework.dao;

import com.euc.springbootframework.dao.base.BaseDao;
import com.euc.springbootframework.entity.Role;
import com.euc.springbootframework.entity.User;

import java.util.List;

public interface UserDao extends BaseDao<User,String>{
    public User findByUsernameAndPassword(String username,String password);

    public User findByUsername(String username);
}
